<?php
include("../autoload.php");

$nome = $_GET['txtNome'];
$codassessor = $_GET['cmbAssessor'];

$listaPostos = Clientes::ListaClientes("WHERE nome LIKE '%$nome%' AND nome <> '' AND codusuario = '$codassessor' ORDER BY nome");
?>
<select name="cmbLista" id="cmbLista" onchange="document.getElementById('frmBusca').submit()" style="width: 290px;" size="13">
<?php
foreach($listaPostos as $dados){
    ?>
    <option class="cbox" value="<?php echo $dados->getCodigo();?>"><?php echo utf8_encode($dados->getNome());?></option>
<?php
}
?>
</select>